﻿<Window x:Class="XCase.Gui.XCaseYesNoBox"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	Title="XCase" WindowStartupLocation="CenterScreen" SizeToContent="WidthAndHeight"
    ResizeMode="NoResize" 
    ShowInTaskbar="False" Topmost="True"
    >
    <ScrollViewer VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto">
        <StackPanel Margin="10" Name="stackPanel1">
            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="40" />
                    <ColumnDefinition Width="Auto" />
                </Grid.ColumnDefinitions>
                <Image Name="image1" Stretch="Fill"  Height="40" HorizontalAlignment="Left" VerticalAlignment="Top" Width="40" Source="question_mark.png" />
                <TextBlock Name="messageText" Text="Title" Margin="5" FontWeight="bold" Grid.Column="1"/>
            </Grid>
            <TextBlock Name="messageQuestion" Text="Message" Width="auto" Margin="10,10,0,0"/>
            <StackPanel Orientation="Horizontal" Name="canvas1" HorizontalAlignment="Center" Margin="5,20,0,5">
                <Button Height="23" Name="bYes" Width="60" Margin="0,0,5,0" IsDefault="True" Click="buttonYes_Click">Yes</Button>
                <Button Height="23" Width="60" Margin="0,0,5,0" Name="bNo" IsCancel="True" Click="buttonNo_Click">No</Button>
                <Button Height="23" Width="60" Margin="0,0,5,0" Name="bOk" IsDefault="True" Visibility="Collapsed" Click="buttonOk_Click">OK</Button>
                <Button Height="23" Width="60" Margin="0,0,5,0" Name="bStorno" IsCancel="True" Click="buttonStorno_Click">Cancel</Button>
            </StackPanel>
        </StackPanel>
    </ScrollViewer>
</Window>
